package com.princehan.service;

import com.princehan.dao.UserDao;
import com.princehan.dao.UserDaoImpl;


/**
 * @Description
 * @Author:PrinceHan
 * @CreateTime:2022/4/12 14:44
 */
public class UserServiceImpl implements UserService{
    private UserDao userDao = new UserDaoImpl();

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        userDao.getUser();
    }
}
